package com.htu.po;

import java.util.ArrayList;
import java.util.List;

public class Orders {
    private int orderId;
    private String userId;
    private int businessId;
    private String orderDate;
    private Double orderTotal;
    private int daId;
    private int orderState;
    private Business business = new Business();
    private List<OrderDetailet> odList = new ArrayList<OrderDetailet>();
    private Food food = new Food();

    public Food getFood() {
        return food;
    }

    public void setFood(Food food) {
        this.food = food;
    }

    public Orders() {
    }

    public Orders(int orderId, String userId, int businessId, String orderDate, Double orderTotal, int daId, int orderState, Business business, List<OrderDetailet> odList) {
        this.orderId = orderId;
        this.userId = userId;
        this.businessId = businessId;
        this.orderDate = orderDate;
        this.orderTotal = orderTotal;
        this.daId = daId;
        this.orderState = orderState;
        this.business = business;
        this.odList = odList;
    }

    public int getOrderId() {
        return orderId;
    }

    public void setOrderId(int orderId) {
        this.orderId = orderId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public int getBusinessId() {
        return businessId;
    }

    public void setBusinessId(int businessId) {
        this.businessId = businessId;
    }

    public String getOrderDate() {
        return orderDate;
    }

    public void setOrderDate(String orderDate) {
        this.orderDate = orderDate;
    }

    public Double getOrderTotal() {
        return orderTotal;
    }

    public void setOrderTotal(Double orderTotal) {
        this.orderTotal = orderTotal;
    }

    public int getDaId() {
        return daId;
    }

    public void setDaId(int daId) {
        this.daId = daId;
    }

    public int getOrderState() {
        return orderState;
    }

    public void setOrderState(int orderState) {
        this.orderState = orderState;
    }

    public Business getBusiness() {
        return business;
    }

    public void setBusiness(Business business) {
        this.business = business;
    }

    public List<OrderDetailet> getOdList() {
        return odList;
    }

    public void setOdList(List<OrderDetailet> odList) {
        this.odList = odList;
    }
}
